home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000001_kapebe@web.de_Wed Nov 19 17:11:33 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
  2. From: kapebe@web.de (Klaus-Peter Boden)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: using telephone keys to acknowledge a call?
  5. Date: 19 Nov 2003 06:33:35 -0800
  6. Organization: http://groups.google.com
  7. Lines: 64
  8. Message-ID: <e880768d.0311190633.bee3d9@posting.google.com>
  9. References: <e880768d.0311180014.28b1d9c3@posting.google.com> <slrnbrk9at.2qp.fdc@sesame.cc.columbia.edu>
  10. NNTP-Posting-Host: 193.197.162.33
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1069252415 30680 127.0.0.1 (19 Nov 2003 14:33:35 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: Wed, 19 Nov 2003 14:33:35 +0000 (UTC)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14676
  17.  
  18. Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbrk9at.2qp.fdc@sesame.cc.columbia.edu>...
  19. > In article <e880768d.0311180014.28b1d9c3@posting.google.com>,
  20. > Klaus-Peter Boden wrote:
  21. > : I'm trying to build the following 'scenario':
  22. > : I have a gsm modem (Falcom A2D, with a German Telecom D1 SIM card)
  23. > : which is connected through a serial line to a linux box. With kermit
  24. > : (700196, Debian Linux 2.4.18) I'm able to connect to the modem, input
  25. > : the PIN, getting network registration status, network field strength
  26. > : and so on (with special AT commands) and I'm able to dial out to other
  27. > : mobile phones or to conventional telephone network.
  28. > : So far, I'm happy ;-)
  29. > : 
  30. > : What I would like to have is, that the called person can use it's
  31. > : phone keys, enter a combination of for example '#42' and use this, to
  32. > : 'acknowledge' that he/she had received the call and based on that,
  33. > : doing further logic in the kermit script, eg. call another number or
  34. > : trying 3 more times if he did'nt answer, then sending SMS,... and so
  35. > : on, or using different keys resulting in different 'actions'
  36.  
  37. > A modem that uses the AT command set, or any other text-based command
  38. > set, is simply a character device to Kermit.  In Kermit, if you enter
  39. > CONNECT (terminal) mode, then whatever you type at the keyboard is sent
  40. > out the serial port to the device.  The only hint is that first you might
  41. > need to tell Kermit to:
  42. >   set carrier-watch off
  43. > in case you need to communicate with the modem's command processor directly
  44. > when there is no Carrier Detect signal from the modem,
  45. > But a modem is not the same as a telephone, and characters from the serial
  46. > port are not the same as telephone buttons.  Therefore you must use the
  47. > modem command that simulates Tone dialing, which is ATDT.  So, for example,
  48. > to simulate '#42' you would type "ATDT#42" and then press the Enter or
  49. > Return key.
  50. > As to scripting, you can get an introduction here:
  51. >   http://www.columbia.edu/kermit/ckscripts.html
  52. > In this case, it's a matter of knowing when to send the ATDT commands.
  53. > Kermit can only work with characters to and from the device.  It can't
  54. > "hear" tones, beeps, bongs, or voice instructions.  But sometimes the
  55. > modem can -- for example, some modems have a "wait for bong" command:
  56. >   ATDT$#42
  57. > You'll have to read your modem manual to find out what is supported by
  58. > your modem.  As long as text comes out of the modem to indicate what is
  59. > happening, you can script interactions reliably.  Otherwise, you'll have
  60. > to insert pauses to wait until it is safe to send the next command.
  61. >
  62. Thank you very much for the info!
  63.  
  64. So if I understand you correct, it means that this is a feature of the
  65. modem and there have to be some modem-specific AT commands with which
  66. I can 'read' the keys, the user pressed (or whatever)...
  67.  
  68. OK, next I will have to call the modem manufacturer if he supports
  69. those 'wait for bong' commands.
  70.  
  71. Klaus
  72. -kpb>
  73. > - Frank
  74.